package com.matt.service;

import com.matt.commons.dto.sso.StaffDTO;
import com.matt.domain.*;
import com.matt.foundation.vo.ClienteleSaveVo;

/**
 * ********************
 * Created by Ron
 * from com.matt
 * on 2018/7/23 0023.
 * ********************
 */
public interface LeadsOperationLogService {


    LeadsHistory createLeads(Leads leads,String ticket, String code);

    LeadsHistory deleteById(String leadsId, String ticket, String code);

    LeadsHistory changeStaffInfo(String ticket,String staffId, String staffName, String leadsId);

    LeadsHistory changeClientele(String ticket,ClienteleSaveVo clienteleSaveVo,String productRecords);

    LeadsHistory uploadAttachment(String ticket, Attachment attachment);

    LeadsHistory updateClientele(String ticket, Clientele clientele);

    LeadsHistory updateClienteleStaff(String ticket, String staffId, String staffName, String clienteleId);

    LeadsHistory addContractForClientele(StaffDTO staff, Contract contract);

    LeadsHistory deleteClientele(String ticket, String clienteleId);

    LeadsHistory createLead(LeadsUser arg, String safeStr, String code);
}
